<ul>
  {% if href and props %}
  {% if props.group_member_set %}
  {% for ahref in props.group_member_set.hrefList %}
  <li>{{ahref.href}}<button class="button" onclick="joinGroup('{{href}}', '{{ahref.href}}', false);">Delete</button></li>
  {% empty %}
  <li>No member in group</li>
  {% endfor %}
  {% endif %}
  {% else %}
  No members.
  {% endif %}
  <li class="ui-widget">
    <label for="{{href}}-add-group-user">指定</label>
    <input class="principalList" id="{{href}}-add-group-user">
    <button class="button" onclick="joinGroup('{{href}}', $(this).prev().val(), true);">增加</button>
    <script type="text/javascript">
      $(".principalList").autocomplete({
		source: '{{request.path}}?action=search&type=principal'
      });
    </script>
  </li>
</ul>
